Optimal. Leaf size=100 \[ \frac{\sqrt{b x^2+c x^4} (A c+2 b B)}{2 b x}-\frac{(A c+2 b B) \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{b x^2+c x^4}}\right )}{2 \sqrt{b}}-\frac{A \left (b x^2+c x^4\right )^{3/2}}{2 b x^5} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.16086, antiderivative size = 100, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {2038, 2021, 2008, 206} \[ \frac{\sqrt{b x^2+c x^4} (A c+2 b B)}{2 b x}-\frac{(A c+2 b B) \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{b x^2+c x^4}}\right )}{2 \sqrt{b}}-\frac{A \left (b x^2+c x^4\right )^{3/2}}{2 b x^5} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2038
Rule 2021
Rule 2008
Rule 206
Rubi steps
\begin{align*} \int \frac{\left (A+B x^2\right ) \sqrt{b x^2+c x^4}}{x^4} \, dx &=-\frac{A \left (b x^2+c x^4\right )^{3/2}}{2 b x^5}-\frac{(-2 b B-A c) \int \frac{\sqrt{b x^2+c x^4}}{x^2} \, dx}{2 b}\\ &=\frac{(2 b B+A c) \sqrt{b x^2+c x^4}}{2 b x}-\frac{A \left (b x^2+c x^4\right )^{3/2}}{2 b x^5}-\frac{1}{2} (-2 b B-A c) \int \frac{1}{\sqrt{b x^2+c x^4}} \, dx\\ &=\frac{(2 b B+A c) \sqrt{b x^2+c x^4}}{2 b x}-\frac{A \left (b x^2+c x^4\right )^{3/2}}{2 b x^5}-\frac{1}{2} (2 b B+A c) \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{x}{\sqrt{b x^2+c x^4}}\right )\\ &=\frac{(2 b B+A c) \sqrt{b x^2+c x^4}}{2 b x}-\frac{A \left (b x^2+c x^4\right )^{3/2}}{2 b x^5}-\frac{(2 b B+A c) \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{b x^2+c x^4}}\right )}{2 \sqrt{b}}\\ \end{align*}
Mathematica [A] time = 0.04587, size = 94, normalized size = 0.94 \[ -\frac{\sqrt{x^2 \left (b+c x^2\right )} \left (\sqrt{b} \left (A-2 B x^2\right ) \sqrt{b+c x^2}+x^2 (A c+2 b B) \tanh ^{-1}\left (\frac{\sqrt{b+c x^2}}{\sqrt{b}}\right )\right )}{2 \sqrt{b} x^3 \sqrt{b+c x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 135, normalized size = 1.4 \begin{align*} -{\frac{1}{2\,b{x}^{3}}\sqrt{c{x}^{4}+b{x}^{2}} \left ( A\sqrt{b}\ln \left ( 2\,{\frac{\sqrt{b}\sqrt{c{x}^{2}+b}+b}{x}} \right ){x}^{2}c+2\,B{b}^{3/2}\ln \left ( 2\,{\frac{\sqrt{b}\sqrt{c{x}^{2}+b}+b}{x}} \right ){x}^{2}-A\sqrt{c{x}^{2}+b}{x}^{2}c-2\,B\sqrt{c{x}^{2}+b}{x}^{2}b+A \left ( c{x}^{2}+b \right ) ^{{\frac{3}{2}}} \right ){\frac{1}{\sqrt{c{x}^{2}+b}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{c x^{4} + b x^{2}}{\left (B x^{2} + A\right )}}{x^{4}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.04321, size = 375, normalized size = 3.75 \begin{align*} \left [\frac{{\left (2 \, B b + A c\right )} \sqrt{b} x^{3} \log \left (-\frac{c x^{3} + 2 \, b x - 2 \, \sqrt{c x^{4} + b x^{2}} \sqrt{b}}{x^{3}}\right ) + 2 \, \sqrt{c x^{4} + b x^{2}}{\left (2 \, B b x^{2} - A b\right )}}{4 \, b x^{3}}, \frac{{\left (2 \, B b + A c\right )} \sqrt{-b} x^{3} \arctan \left (\frac{\sqrt{c x^{4} + b x^{2}} \sqrt{-b}}{c x^{3} + b x}\right ) + \sqrt{c x^{4} + b x^{2}}{\left (2 \, B b x^{2} - A b\right )}}{2 \, b x^{3}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{x^{2} \left (b + c x^{2}\right )} \left (A + B x^{2}\right )}{x^{4}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.24104, size = 103, normalized size = 1.03 \begin{align*} \frac{2 \, \sqrt{c x^{2} + b} B c \mathrm{sgn}\left (x\right ) + \frac{{\left (2 \, B b c \mathrm{sgn}\left (x\right ) + A c^{2} \mathrm{sgn}\left (x\right )\right )} \arctan \left (\frac{\sqrt{c x^{2} + b}}{\sqrt{-b}}\right )}{\sqrt{-b}} - \frac{\sqrt{c x^{2} + b} A c \mathrm{sgn}\left (x\right )}{x^{2}}}{2 \, c} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]